package com.jinyu.admin.service.sys;

import com.jinyu.dao.entity.sys.SysUser;

import java.util.List;

/**
 * @Author: yangli
 * @Despriction:
 * @Package: com.jinyu.admin.service.sys
 * @Date:Created in 2022/5/3 22:12
 * @Modify By:
 */
public interface SysUserService {

    /**
     * 新增
     */
    public int insert(SysUser sysUser);

    /**
     * 删除
     */
    public int delete(String id);

    /**
     * 更新
     */
    public int update(SysUser sysUser);

    /**
     * 根据用户编码查询
     */
    public SysUser selectByOne(String userCode);

    /**
     * 分页查询
     */
    public List<SysUser> pageList(int offset, int pagesize);

}
